package com.lsx.service.impl;

import javax.annotation.Resource;

import org.springframework.stereotype.Service;

import com.lsx.dao.UserDao;
import com.lsx.pojo.User;
import com.lsx.service.UserService;

@Service
public class UserServiceImpl implements UserService{
	
	@Resource
	private UserDao dao;

	@Override
	public User findUserById(Integer id) {
		return this.dao.findUserById(id);
	}

	@Override
	public Integer addUser(User user) {
		return this.dao.addUser(user);
	}

}
